/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;
import java.io.IOException;

/**
 * @author Welcome
 */
public class GameDesign_1 {

    //<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
    private Sprite khungs;
    public int khungsseq001Delay = 200;
    public int[] khungsseq001 = {0, 1, 2, 3, 0};
    private Image khungbando;
    private Image mapnhakho;
    private TiledLayer barmap5;
    private TiledLayer khungt;
    private Image alex;
    private Sprite bandos;
    public int bandosseq001Delay = 200;
    public int[] bandosseq001 = {0, 0, 0, 0, 0};
    private Image bando;
    private Image mrL;
    private Image alex001;
    private Sprite alexs;
    public int alexsseq001Delay = 200;
    public int[] alexsseq001 = {0, 1, 2, 3, 4, 5, 6, 7};
    private Image tudo1;
    private Sprite tudo1s;
    public int tudo1sseq001Delay = 200;
    public int[] tudo1sseq001 = {0, 1, 2, 3, 4, 5};
    private Image tudo2;
    private Sprite tudo2s;
    public int tudo2sseq001Delay = 200;
    public int[] tudo2sseq001 = {0, 1, 2, 3, 4, 5, 6};
    private TiledLayer tui;
    private Image thunggo;
    private Image cop;
    private Image npc3;
    private Image othoai;
    private Sprite npc33;
    public int npc33seq001Delay = 200;
    public int[] npc33seq001 = {0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 3, 3, 3};
    private Image denpin;
    private Sprite coms;
    public int comsseq002Delay = 200;
    public int[] comsseq002 = {0, 0, 0, 0, 0};
    private Sprite npc1s;
    public int npc1sseq001Delay = 200;
    public int[] npc1sseq001 = {8, 8, 8, 9, 10, 11, 12, 12, 12, 13, 13, 13};
    private Image npc1;
    private Image khung;
    private Image npc2;
    private Sprite npc2s;
    public int npc2sseq001Delay = 200;
    public int[] npc2sseq001 = {8, 8, 9, 9, 10, 10, 11, 12};
    private Sprite ka;
    public int kaseq001Delay = 200;
    public int[] kaseq001 = {3, 0, 0, 0, 0};
    private Sprite de;
    public int deseq001Delay = 200;
    public int[] deseq001 = {0, 1, 2, 3, 4};
    private Image danem;
    private Sprite g;
    public int gseq001Delay = 200;
    public int[] gseq001 = {0, 1};
    private Image guitar;
    private Sprite bos;
    public int bosseq001Delay = 200;
    public int[] bosseq001 = {14, 15, 16};
    private Image boss;
    private Image hoatrang;
    private Sprite bo;
    public int boseq001Delay = 200;
    public int[] boseq001 = {0, 1};
    private Image bom;
    private Sprite c;
    public int cseq001Delay = 200;
    public int[] cseq001 = {12, 13, 14, 15};
    private Image chiduong;
    private Sprite djs;
    public int djsseq001Delay = 200;
    public int[] djsseq001 = {1, 2, 3, 4};
    private Image dj;
    private Image button;
    private Sprite b;
    public int bseq001Delay = 200;
    public int[] bseq001 = {0, 1};
    private Image wc;
    private TiledLayer wcmap;
    private TiledLayer wcmap1;
    private Sprite ht;
    public int htseq001Delay = 200;
    public int[] htseq001 = {34, 35, 36};
    private Image mauban;
    private Sprite mb;
    public int mbseq001Delay = 200;
    public int[] mbseq001 = {0, 1, 2};
    private Image quat;
    private Image darkBorder;
    private TiledLayer darkborder;
    private Image dento;
    private Image map001;
    private Sprite ok;
    public int okseq001Delay = 200;
    public int[] okseq001 = {0, 0, 0, 0, 0};
    private TiledLayer mapsocanhsat;
    private Image carrac;
    private Sprite ac;
    public int acseq001Delay = 200;
    public int[] acseq001 = {8, 9, 10, 11, 12};
    private TiledLayer gid;
    private Image socanhsat;
    private Image townmap001;
    private Image townmap;
    private TiledLayer town;
    private TiledLayer roof1;
    private TiledLayer roof2;
    private TiledLayer barmap4;
    private Image tuido;
    private TiledLayer barmap2;
    private TiledLayer barmap3;
    private TiledLayer barmap;
    private Image bar;
    private Image hieuung;
    private Sprite hieungs;
    public int hieungsseq001Delay = 200;
    public int[] hieungsseq001 = {0, 1, 2};
    private Sprite khois;
    public int khoisseq001Delay = 200;
    public int[] khoisseq001 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
    private Image khoi;
    private Sprite dentos;
    public int dentosseq002Delay = 200;
    public int[] dentosseq002 = {0, 1};
    private Image mau;
    private TiledLayer maut;
    private Image nuochoa;
    private Sprite nchoa;
    public int nchoaseq001Delay = 200;
    public int[] nchoaseq001 = {0, 1};
    private Image smoke;
    private Sprite smk;
    public int smkseq001Delay = 200;
    public int[] smkseq001 = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 11};
    //</editor-fold>//GEN-END:|fields|0|

    //<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
    //</editor-fold>//GEN-END:|methods|0|

    public Image getMapnhakho() throws java.io.IOException {//GEN-BEGIN:|1-getter|0|1-preInit
        if (mapnhakho == null) {//GEN-END:|1-getter|0|1-preInit
            // write pre-init user code here
            mapnhakho = Image.createImage("/socanhsat.png");//GEN-BEGIN:|1-getter|1|1-postInit
        }//GEN-END:|1-getter|1|1-postInit
        // write post-init user code here
        return this.mapnhakho;//GEN-BEGIN:|1-getter|2|
    }
//GEN-END:|1-getter|2|



    public Image getAlex() throws java.io.IOException {//GEN-BEGIN:|3-getter|0|3-preInit
        if (alex == null) {//GEN-END:|3-getter|0|3-preInit
            // write pre-init user code here
            alex = Image.createImage("/alex.png");//GEN-BEGIN:|3-getter|1|3-postInit
        }//GEN-END:|3-getter|1|3-postInit
        // write post-init user code here
        return this.alex;//GEN-BEGIN:|3-getter|2|
    }
//GEN-END:|3-getter|2|

    public Image getMrL() throws java.io.IOException {//GEN-BEGIN:|6-getter|0|6-preInit
        if (mrL == null) {//GEN-END:|6-getter|0|6-preInit
            // write pre-init user code here
            mrL = Image.createImage("/alex.png");//GEN-BEGIN:|6-getter|1|6-postInit
        }//GEN-END:|6-getter|1|6-postInit
        // write post-init user code here
        return this.mrL;//GEN-BEGIN:|6-getter|2|
    }
//GEN-END:|6-getter|2|



    public Image getAlex001() throws java.io.IOException {//GEN-BEGIN:|9-getter|0|9-preInit
        if (alex001 == null) {//GEN-END:|9-getter|0|9-preInit
            // write pre-init user code here
            alex001 = Image.createImage("/alex.png");//GEN-BEGIN:|9-getter|1|9-postInit
        }//GEN-END:|9-getter|1|9-postInit
        // write post-init user code here
        return this.alex001;//GEN-BEGIN:|9-getter|2|
    }
//GEN-END:|9-getter|2|

    public Sprite getAlexs() throws java.io.IOException {//GEN-BEGIN:|10-getter|0|10-preInit
        if (alexs == null) {//GEN-END:|10-getter|0|10-preInit
            // write pre-init user code here
            alexs = new Sprite(getAlex001(), 16, 30);//GEN-BEGIN:|10-getter|1|10-postInit
            alexs.setFrameSequence(alexsseq001);//GEN-END:|10-getter|1|10-postInit
            // write post-init user code here
        }//GEN-BEGIN:|10-getter|2|
        return alexs;
    }
//GEN-END:|10-getter|2|

    public Image getTudo1() throws java.io.IOException {//GEN-BEGIN:|12-getter|0|12-preInit
        if (tudo1 == null) {//GEN-END:|12-getter|0|12-preInit
            // write pre-init user code here
            tudo1 = Image.createImage("/tudo1.png");//GEN-BEGIN:|12-getter|1|12-postInit
        }//GEN-END:|12-getter|1|12-postInit
        // write post-init user code here
        return this.tudo1;//GEN-BEGIN:|12-getter|2|
    }
//GEN-END:|12-getter|2|

    public Sprite getTudo1s() throws java.io.IOException {//GEN-BEGIN:|13-getter|0|13-preInit
        if (tudo1s == null) {//GEN-END:|13-getter|0|13-preInit
            // write pre-init user code here
            tudo1s = new Sprite(getTudo1(), 16, 25);//GEN-BEGIN:|13-getter|1|13-postInit
            tudo1s.setFrameSequence(tudo1sseq001);//GEN-END:|13-getter|1|13-postInit
            // write post-init user code here
        }//GEN-BEGIN:|13-getter|2|
        return tudo1s;
    }
//GEN-END:|13-getter|2|

    public Image getTudo2() throws java.io.IOException {//GEN-BEGIN:|15-getter|0|15-preInit
        if (tudo2 == null) {//GEN-END:|15-getter|0|15-preInit
            // write pre-init user code here
            tudo2 = Image.createImage("/tudo2.png");//GEN-BEGIN:|15-getter|1|15-postInit
        }//GEN-END:|15-getter|1|15-postInit
        // write post-init user code here
        return this.tudo2;//GEN-BEGIN:|15-getter|2|
    }
//GEN-END:|15-getter|2|

    public Sprite getTudo2s() throws java.io.IOException {//GEN-BEGIN:|16-getter|0|16-preInit
        if (tudo2s == null) {//GEN-END:|16-getter|0|16-preInit
            // write pre-init user code here
            tudo2s = new Sprite(getTudo2(), 25, 27);//GEN-BEGIN:|16-getter|1|16-postInit
            tudo2s.setFrameSequence(tudo2sseq001);//GEN-END:|16-getter|1|16-postInit
            // write post-init user code here
        }//GEN-BEGIN:|16-getter|2|
        return tudo2s;
    }
//GEN-END:|16-getter|2|

    public Image getThunggo() throws java.io.IOException {//GEN-BEGIN:|18-getter|0|18-preInit
        if (thunggo == null) {//GEN-END:|18-getter|0|18-preInit
            // write pre-init user code here
            thunggo = Image.createImage("/dento.png");//GEN-BEGIN:|18-getter|1|18-postInit
        }//GEN-END:|18-getter|1|18-postInit
        // write post-init user code here
        return this.thunggo;//GEN-BEGIN:|18-getter|2|
    }
//GEN-END:|18-getter|2|



    public Image getOthoai() throws java.io.IOException {//GEN-BEGIN:|21-getter|0|21-preInit
        if (othoai == null) {//GEN-END:|21-getter|0|21-preInit
            // write pre-init user code here
            othoai = Image.createImage("/bd.png");//GEN-BEGIN:|21-getter|1|21-postInit
        }//GEN-END:|21-getter|1|21-postInit
        // write post-init user code here
        return this.othoai;//GEN-BEGIN:|21-getter|2|
    }
//GEN-END:|21-getter|2|



    public Image getDenpin() throws java.io.IOException {//GEN-BEGIN:|23-getter|0|23-preInit
        if (denpin == null) {//GEN-END:|23-getter|0|23-preInit
            // write pre-init user code here
            denpin = Image.createImage("/paper.png");//GEN-BEGIN:|23-getter|1|23-postInit
        }//GEN-END:|23-getter|1|23-postInit
        // write post-init user code here
        return this.denpin;//GEN-BEGIN:|23-getter|2|
    }
//GEN-END:|23-getter|2|





    public Image getQuat() throws java.io.IOException {//GEN-BEGIN:|182-getter|0|182-preInit
        if (quat == null) {//GEN-END:|182-getter|0|182-preInit
            // write pre-init user code here
            quat = Image.createImage("/cars3.png");//GEN-BEGIN:|182-getter|1|182-postInit
        }//GEN-END:|182-getter|1|182-postInit
        // write post-init user code here
        return this.quat;//GEN-BEGIN:|182-getter|2|
    }
//GEN-END:|182-getter|2|



    public Image getMap001() throws java.io.IOException {//GEN-BEGIN:|195-getter|0|195-preInit
        if (map001 == null) {//GEN-END:|195-getter|0|195-preInit
            // write pre-init user code here
            map001 = Image.createImage("/npc2.png");//GEN-BEGIN:|195-getter|1|195-postInit
        }//GEN-END:|195-getter|1|195-postInit
        // write post-init user code here
        return this.map001;//GEN-BEGIN:|195-getter|2|
    }
//GEN-END:|195-getter|2|



    public Image getDento() throws java.io.IOException {//GEN-BEGIN:|202-getter|0|202-preInit
        if (dento == null) {//GEN-END:|202-getter|0|202-preInit
            // write pre-init user code here
            dento = Image.createImage("/dento.png");//GEN-BEGIN:|202-getter|1|202-postInit
        }//GEN-END:|202-getter|1|202-postInit
        // write post-init user code here
        return this.dento;//GEN-BEGIN:|202-getter|2|
    }
//GEN-END:|202-getter|2|



    public Image getDarkBorder() throws java.io.IOException {//GEN-BEGIN:|205-getter|0|205-preInit
        if (darkBorder == null) {//GEN-END:|205-getter|0|205-preInit
            // write pre-init user code here
            darkBorder = Image.createImage("/darkBorder.png");//GEN-BEGIN:|205-getter|1|205-postInit
        }//GEN-END:|205-getter|1|205-postInit
        // write post-init user code here
        return this.darkBorder;//GEN-BEGIN:|205-getter|2|
    }
//GEN-END:|205-getter|2|

    public TiledLayer getDarkborder() throws java.io.IOException {//GEN-BEGIN:|206-getter|0|206-preInit
        if (darkborder == null) {//GEN-END:|206-getter|0|206-preInit
            // write pre-init user code here
            darkborder = new TiledLayer(4, 7, getDarkBorder(), 16, 16);//GEN-BEGIN:|206-getter|1|206-midInit
            int[][] tiles = {
                { 1, 2, 2, 3 },
                { 4, 0, 0, 6 },
                { 4, 0, 0, 6 },
                { 4, 5, 5, 6 },
                { 4, 0, 0, 6 },
                { 4, 0, 0, 6 },
                { 7, 8, 8, 9 }
            };//GEN-END:|206-getter|1|206-midInit
            // write mid-init user code here
            for (int row = 0; row < 7; row++) {//GEN-BEGIN:|206-getter|2|206-postInit
                for (int col = 0; col < 4; col++) {
                    darkborder.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|206-getter|2|206-postInit
        // write post-init user code here
        return darkborder;//GEN-BEGIN:|206-getter|3|
    }
//GEN-END:|206-getter|3|

    public Image getTownmap() throws java.io.IOException {//GEN-BEGIN:|208-getter|0|208-preInit
        if (townmap == null) {//GEN-END:|208-getter|0|208-preInit
            // write pre-init user code here
            townmap = Image.createImage("/townmap.png");//GEN-BEGIN:|208-getter|1|208-postInit
        }//GEN-END:|208-getter|1|208-postInit
        // write post-init user code here
        return this.townmap;//GEN-BEGIN:|208-getter|2|
    }
//GEN-END:|208-getter|2|

    public TiledLayer getTown() throws java.io.IOException {//GEN-BEGIN:|209-getter|0|209-preInit
        if (town == null) {//GEN-END:|209-getter|0|209-preInit
            // write pre-init user code here
            town = new TiledLayer(32, 28, getTownmap(), 16, 16);//GEN-BEGIN:|209-getter|1|209-midInit
            int[][] tiles = {
                { 1, 68, 68, 68, 68, 68, 32, 68, 68, 68, 68, 68, 1, 68, 68, 68, 68, 68, 32, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71 },
                { 1, 68, 2, 68, 2, 68, 32, 68, 68, 68, 68, 68, 1, 68, 2, 68, 2, 68, 32, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71 },
                { 1, 68, 33, 68, 33, 68, 32, 68, 68, 68, 68, 68, 1, 68, 33, 68, 33, 68, 32, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71 },
                { 1, 68, 64, 68, 64, 68, 32, 68, 68, 68, 68, 68, 1, 68, 64, 68, 64, 68, 32, 71, 71, 14, 15, 15, 15, 15, 15, 15, 15, 15, 16, 71 },
                { 1, 68, 68, 68, 68, 68, 32, 68, 2, 68, 2, 68, 1, 68, 68, 68, 68, 68, 32, 71, 71, 45, 46, 46, 46, 46, 46, 46, 46, 46, 47, 71 },
                { 1, 68, 68, 68, 68, 68, 32, 68, 33, 68, 33, 68, 1, 68, 68, 68, 68, 68, 32, 71, 71, 45, 46, 46, 46, 46, 46, 46, 46, 46, 47, 71 },
                { 1, 32, 68, 5, 68, 1, 32, 68, 64, 68, 64, 68, 1, 9, 10, 10, 10, 11, 32, 71, 71, 76, 77, 77, 77, 77, 77, 77, 77, 77, 78, 71 },
                { 1, 32, 68, 36, 68, 1, 32, 68, 68, 68, 68, 68, 1, 40, 41, 41, 41, 42, 32, 12, 13, 72, 17, 18, 72, 17, 18, 72, 17, 18, 72, 7 },
                { 3, 4, 63, 67, 63, 3, 4, 63, 63, 63, 63, 63, 3, 40, 41, 41, 41, 42, 4, 43, 44, 73, 48, 49, 73, 79, 80, 73, 79, 80, 19, 7 },
                { 34, 6, 69, 7, 7, 8, 35, 69, 7, 7, 7, 7, 34, 40, 41, 41, 41, 42, 35, 74, 75, 73, 48, 49, 19, 73, 73, 73, 19, 73, 19, 7 },
                { 65, 37, 38, 38, 38, 39, 66, 7, 7, 7, 7, 7, 65, 40, 41, 41, 41, 42, 66, 7, 69, 7, 7, 7, 7, 7, 7, 69, 7, 7, 7, 7 },
                { 69, 7, 7, 69, 69, 7, 7, 7, 7, 0, 69, 7, 0, 7, 69, 7, 69, 69, 7, 7, 7, 7, 7, 7, 69, 7, 7, 7, 7, 7, 7, 7 },
                { 70, 70, 70, 70, 70, 70, 70, 70, 70, 0, 70, 70, 0, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70 },
                { 7, 50, 50, 7, 7, 7, 50, 50, 7, 7, 7, 50, 50, 7, 7, 7, 7, 50, 50, 7, 7, 7, 50, 50, 7, 7, 7, 50, 50, 7, 7, 7 },
                { 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 20, 20, 20, 21, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 51, 51, 51, 52, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 22, 55, 22, 23, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 26, 27, 27, 27, 27, 27, 27, 28, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 51, 86, 51, 52, 7, 56, 56, 56, 56, 56, 56, 56, 56, 7, 57, 58, 58, 58, 58, 58, 58, 59, 12, 13, 7, 7, 12, 13, 12, 13, 12, 13 },
                { 51, 51, 51, 52, 83, 56, 56, 56, 56, 56, 56, 56, 56, 7, 57, 58, 58, 58, 58, 58, 58, 59, 43, 44, 7, 69, 43, 44, 43, 44, 43, 44 },
                { 51, 51, 51, 52, 83, 7, 7, 7, 7, 69, 7, 7, 7, 87, 57, 58, 58, 58, 58, 58, 58, 59, 74, 75, 7, 7, 74, 75, 74, 75, 74, 75 },
                { 51, 51, 51, 52, 83, 69, 7, 7, 7, 7, 7, 7, 7, 87, 57, 51, 51, 51, 51, 51, 51, 59, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 51, 51, 22, 23, 83, 7, 7, 7, 69, 7, 7, 7, 69, 87, 88, 89, 89, 89, 89, 89, 89, 90, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 84, 85, 53, 54, 83, 7, 7, 7, 7, 7, 7, 7, 7, 87, 91, 92, 93, 92, 93, 93, 92, 60, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 84, 85, 53, 54, 83, 7, 7, 7, 7, 7, 0, 7, 7, 87, 29, 30, 30, 30, 30, 30, 30, 62, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 84, 85, 53, 54, 83, 7, 7, 7, 7, 7, 7, 7, 7, 87, 29, 61, 61, 61, 61, 61, 61, 62, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 84, 85, 7, 7, 83, 69, 7, 7, 7, 7, 7, 7, 7, 87, 29, 31, 31, 31, 31, 31, 31, 62, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
                { 7, 7, 7, 7, 83, 7, 7, 69, 7, 7, 7, 7, 69, 87, 7, 69, 7, 7, 7, 7, 69, 7, 83, 7, 7, 7, 7, 7, 7, 7, 7, 7 }
            };//GEN-END:|209-getter|1|209-midInit
            // write mid-init user code here
            for (int row = 0; row < 28; row++) {//GEN-BEGIN:|209-getter|2|209-postInit
                for (int col = 0; col < 32; col++) {
                    town.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|209-getter|2|209-postInit
        // write post-init user code here
        return town;//GEN-BEGIN:|209-getter|3|
    }
//GEN-END:|209-getter|3|

    public TiledLayer getRoof1() throws java.io.IOException {//GEN-BEGIN:|210-getter|0|210-preInit
        if (roof1 == null) {//GEN-END:|210-getter|0|210-preInit
            // write pre-init user code here
            roof1 = new TiledLayer(4, 2, getTownmap(), 16, 16);//GEN-BEGIN:|210-getter|1|210-midInit
            int[][] tiles = {
                { 20, 20, 20, 21 },
                { 51, 51, 51, 52 }
            };//GEN-END:|210-getter|1|210-midInit
            // write mid-init user code here
            for (int row = 0; row < 2; row++) {//GEN-BEGIN:|210-getter|2|210-postInit
                for (int col = 0; col < 4; col++) {
                    roof1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|210-getter|2|210-postInit
        // write post-init user code here
        return roof1;//GEN-BEGIN:|210-getter|3|
    }
//GEN-END:|210-getter|3|

    public TiledLayer getRoof2() throws java.io.IOException {//GEN-BEGIN:|211-getter|0|211-preInit
        if (roof2 == null) {//GEN-END:|211-getter|0|211-preInit
            // write pre-init user code here
            roof2 = new TiledLayer(8, 7, getTownmap(), 16, 16);//GEN-BEGIN:|211-getter|1|211-midInit
            int[][] tiles = {
                { 26, 27, 27, 27, 27, 27, 27, 28 },
                { 57, 58, 58, 58, 58, 58, 58, 59 },
                { 57, 58, 58, 58, 58, 58, 58, 59 },
                { 57, 58, 58, 58, 58, 58, 58, 59 },
                { 57, 51, 51, 51, 51, 51, 51, 59 },
                { 88, 89, 89, 89, 89, 89, 89, 90 },
                { 91, 92, 93, 92, 93, 93, 92, 60 }
            };//GEN-END:|211-getter|1|211-midInit
            // write mid-init user code here
            for (int row = 0; row < 7; row++) {//GEN-BEGIN:|211-getter|2|211-postInit
                for (int col = 0; col < 8; col++) {
                    roof2.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|211-getter|2|211-postInit
        // write post-init user code here
        return roof2;//GEN-BEGIN:|211-getter|3|
    }
//GEN-END:|211-getter|3|

    public TiledLayer getGid() throws java.io.IOException {//GEN-BEGIN:|212-getter|0|212-preInit
        if (gid == null) {//GEN-END:|212-getter|0|212-preInit
            // write pre-init user code here
            gid = new TiledLayer(10, 3, getTownmap(), 16, 16);//GEN-BEGIN:|212-getter|1|212-midInit
            int[][] tiles = {
                { 12, 13, 0, 0, 12, 13, 12, 13, 12, 13 },
                { 43, 44, 0, 0, 43, 44, 43, 44, 43, 44 },
                { 74, 75, 0, 0, 74, 75, 74, 75, 74, 75 }
            };//GEN-END:|212-getter|1|212-midInit
            // write mid-init user code here
            for (int row = 0; row < 3; row++) {//GEN-BEGIN:|212-getter|2|212-postInit
                for (int col = 0; col < 10; col++) {
                    gid.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|212-getter|2|212-postInit
        // write post-init user code here
        return gid;//GEN-BEGIN:|212-getter|3|
    }
//GEN-END:|212-getter|3|

    public Image getSocanhsat() throws java.io.IOException {//GEN-BEGIN:|213-getter|0|213-preInit
        if (socanhsat == null) {//GEN-END:|213-getter|0|213-preInit
            // write pre-init user code here
            socanhsat = Image.createImage("/socanhsat.png");//GEN-BEGIN:|213-getter|1|213-postInit
        }//GEN-END:|213-getter|1|213-postInit
        // write post-init user code here
        return this.socanhsat;//GEN-BEGIN:|213-getter|2|
    }
//GEN-END:|213-getter|2|



    public Image getTownmap001() throws java.io.IOException {//GEN-BEGIN:|215-getter|0|215-preInit
        if (townmap001 == null) {//GEN-END:|215-getter|0|215-preInit
            // write pre-init user code here
            townmap001 = Image.createImage("/townmap.png");//GEN-BEGIN:|215-getter|1|215-postInit
        }//GEN-END:|215-getter|1|215-postInit
        // write post-init user code here
        return this.townmap001;//GEN-BEGIN:|215-getter|2|
    }
//GEN-END:|215-getter|2|

    public TiledLayer getMapsocanhsat() throws java.io.IOException {//GEN-BEGIN:|216-getter|0|216-preInit
        if (mapsocanhsat == null) {//GEN-END:|216-getter|0|216-preInit
            // write pre-init user code here
            mapsocanhsat = new TiledLayer(32, 26, getSocanhsat(), 16, 16);//GEN-BEGIN:|216-getter|1|216-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 28, 56, 56, 56, 56, 56, 56, 56, 56, 56, 58, 0, 0, 0, 0, 0, 0, 3, 2, 2, 2, 2, 4, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 39, 56, 56, 56, 56, 56, 56, 56, 56, 56, 54, 0, 14, 14, 14, 14, 0, 5, 12, 46, 47, 48, 1, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 39, 56, 56, 43, 44, 45, 56, 21, 29, 30, 54, 0, 25, 25, 25, 25, 0, 5, 36, 32, 33, 53, 1, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 39, 56, 56, 55, 55, 55, 56, 57, 29, 30, 54, 0, 0, 0, 0, 0, 0, 5, 22, 22, 22, 22, 1, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 39, 56, 56, 56, 56, 56, 56, 57, 29, 30, 54, 0, 0, 40, 41, 0, 0, 5, 23, 24, 24, 23, 1, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 50, 56, 56, 43, 44, 45, 56, 57, 29, 30, 26, 56, 28, 51, 52, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 55, 56, 56, 55, 55, 55, 56, 57, 29, 30, 26, 56, 39, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 20, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 39, 56, 43, 44, 45, 56, 56, 56, 56, 56, 56, 56, 56, 31, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 39, 56, 55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 39, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 50, 56, 43, 44, 45, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 55, 56, 55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 29, 30, 26, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 57, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 7, 7, 7, 7, 7, 7, 7, 34, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 26, 56, 56, 56, 26, 56, 56, 57, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 27, 27, 27, 27, 27, 27, 27, 13, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 27, 27, 27, 27, 27, 27, 27, 13, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0 },
                { 0, 0, 0, 27, 27, 27, 27, 27, 27, 27, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 27, 27, 27, 27, 27, 27, 27, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 27, 27, 27, 27, 27, 27, 27, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|216-getter|1|216-midInit
            // write mid-init user code here
            for (int row = 0; row < 26; row++) {//GEN-BEGIN:|216-getter|2|216-postInit
                for (int col = 0; col < 32; col++) {
                    mapsocanhsat.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|216-getter|2|216-postInit
        // write post-init user code here
        return mapsocanhsat;//GEN-BEGIN:|216-getter|3|
    }
//GEN-END:|216-getter|3|

    public Image getCarrac() throws java.io.IOException {//GEN-BEGIN:|217-getter|0|217-preInit
        if (carrac == null) {//GEN-END:|217-getter|0|217-preInit
            // write pre-init user code here
            carrac = Image.createImage("/carrac.png");//GEN-BEGIN:|217-getter|1|217-postInit
        }//GEN-END:|217-getter|1|217-postInit
        // write post-init user code here
        return this.carrac;//GEN-BEGIN:|217-getter|2|
    }
//GEN-END:|217-getter|2|

    public Sprite getAc() throws java.io.IOException {//GEN-BEGIN:|218-getter|0|218-preInit
        if (ac == null) {//GEN-END:|218-getter|0|218-preInit
            // write pre-init user code here
            ac = new Sprite(getCarrac(), 111, 44);//GEN-BEGIN:|218-getter|1|218-postInit
            ac.setFrameSequence(acseq001);//GEN-END:|218-getter|1|218-postInit
            // write post-init user code here
        }//GEN-BEGIN:|218-getter|2|
        return ac;
    }
//GEN-END:|218-getter|2|

    public void updateLayerManagerForSc(LayerManager lm) throws java.io.IOException {//GEN-LINE:|220-updateLayerManager|0|220-preUpdate
        // write pre-update user code here
        getOk().setPosition(564, 434);//GEN-BEGIN:|220-updateLayerManager|1|220-postUpdate
        getOk().setVisible(true);
        lm.append(getOk());
        getMapsocanhsat().setPosition(210, 159);
        getMapsocanhsat().setVisible(true);
        lm.append(getMapsocanhsat());//GEN-END:|220-updateLayerManager|1|220-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|220-updateLayerManager|2|
//GEN-END:|220-updateLayerManager|2|

    public Sprite getOk() throws java.io.IOException {//GEN-BEGIN:|223-getter|0|223-preInit
        if (ok == null) {//GEN-END:|223-getter|0|223-preInit
            // write pre-init user code here
            ok = new Sprite(getQuat(), 64, 32);//GEN-BEGIN:|223-getter|1|223-postInit
            ok.setFrameSequence(okseq001);//GEN-END:|223-getter|1|223-postInit
            // write post-init user code here
        }//GEN-BEGIN:|223-getter|2|
        return ok;
    }
//GEN-END:|223-getter|2|

    public Sprite getDentos() throws java.io.IOException {//GEN-BEGIN:|241-getter|0|241-preInit
        if (dentos == null) {//GEN-END:|241-getter|0|241-preInit
            // write pre-init user code here
            dentos = new Sprite(getDento(), 34, 48);//GEN-BEGIN:|241-getter|1|241-postInit
            dentos.setFrameSequence(dentosseq002);//GEN-END:|241-getter|1|241-postInit
            // write post-init user code here
        }//GEN-BEGIN:|241-getter|2|
        return dentos;
    }
//GEN-END:|241-getter|2|

    public Image getKhoi() throws java.io.IOException {//GEN-BEGIN:|243-getter|0|243-preInit
        if (khoi == null) {//GEN-END:|243-getter|0|243-preInit
            // write pre-init user code here
            khoi = Image.createImage("/khoi.png");//GEN-BEGIN:|243-getter|1|243-postInit
        }//GEN-END:|243-getter|1|243-postInit
        // write post-init user code here
        return this.khoi;//GEN-BEGIN:|243-getter|2|
    }
//GEN-END:|243-getter|2|

    public Sprite getKhois() throws java.io.IOException {//GEN-BEGIN:|244-getter|0|244-preInit
        if (khois == null) {//GEN-END:|244-getter|0|244-preInit
            // write pre-init user code here
            khois = new Sprite(getKhoi(), 64, 64);//GEN-BEGIN:|244-getter|1|244-postInit
            khois.setFrameSequence(khoisseq001);//GEN-END:|244-getter|1|244-postInit
            // write post-init user code here
        }//GEN-BEGIN:|244-getter|2|
        return khois;
    }
//GEN-END:|244-getter|2|

    public Image getHieuung() throws java.io.IOException {//GEN-BEGIN:|246-getter|0|246-preInit
        if (hieuung == null) {//GEN-END:|246-getter|0|246-preInit
            // write pre-init user code here
            hieuung = Image.createImage("/hieuung.png");//GEN-BEGIN:|246-getter|1|246-postInit
        }//GEN-END:|246-getter|1|246-postInit
        // write post-init user code here
        return this.hieuung;//GEN-BEGIN:|246-getter|2|
    }
//GEN-END:|246-getter|2|

    public Sprite getHieungs() throws java.io.IOException {//GEN-BEGIN:|247-getter|0|247-preInit
        if (hieungs == null) {//GEN-END:|247-getter|0|247-preInit
            // write pre-init user code here
            hieungs = new Sprite(getHieuung(), 35, 35);//GEN-BEGIN:|247-getter|1|247-postInit
            hieungs.setFrameSequence(hieungsseq001);//GEN-END:|247-getter|1|247-postInit
            // write post-init user code here
        }//GEN-BEGIN:|247-getter|2|
        return hieungs;
    }
//GEN-END:|247-getter|2|

    public Image getBar() throws java.io.IOException {//GEN-BEGIN:|249-getter|0|249-preInit
        if (bar == null) {//GEN-END:|249-getter|0|249-preInit
            // write pre-init user code here
            bar = Image.createImage("/bar.png");//GEN-BEGIN:|249-getter|1|249-postInit
        }//GEN-END:|249-getter|1|249-postInit
        // write post-init user code here
        return this.bar;//GEN-BEGIN:|249-getter|2|
    }
//GEN-END:|249-getter|2|



    public TiledLayer getBarmap() throws java.io.IOException {//GEN-BEGIN:|251-getter|0|251-preInit
        if (barmap == null) {//GEN-END:|251-getter|0|251-preInit
            // write pre-init user code here
            barmap = new TiledLayer(29, 23, getBar(), 16, 16);//GEN-BEGIN:|251-getter|1|251-midInit
            int[][] tiles = {
                { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
                { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
                { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
                { 6, 6, 6, 6, 6, 6, 60, 6, 6, 6, 60, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 54, 45, 6, 6 },
                { 6, 6, 6, 6, 6, 6, 59, 6, 6, 6, 59, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 55, 50, 6, 6 },
                { 6, 6, 6, 56, 6, 6, 58, 6, 6, 6, 58, 6, 6, 6, 6, 56, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
                { 9, 9, 9, 57, 9, 10, 4, 4, 4, 4, 4, 8, 9, 9, 9, 57, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 84, 84, 84, 84, 84, 20, 6, 1, 2, 3, 6, 19, 84, 84, 84, 84, 84, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 24, 25, 0, 0, 24, 25, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 29, 30, 0, 0, 29, 30, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 8, 9, 9, 0, 9, 9, 9, 9, 9, 9, 9, 0 },
                { 34, 35, 0, 0, 34, 35, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 80, 80, 80, 5, 80, 80, 80, 80, 80, 80, 80, 47, 48, 48, 48, 48, 48, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 80, 80, 80, 80, 80, 80, 80, 80, 80, 5, 80, 52, 53, 44, 40, 40, 39, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
                { 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 49, 40, 40, 39, 19, 84, 15, 9, 13, 14, 14, 14, 14, 14, 14, 14 },
                { 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 27, 27, 28, 26, 83, 76, 75, 78, 83, 83, 83, 83, 83, 83, 83 },
                { 0, 0, 0, 0, 0, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 26, 83, 76, 75, 78, 83, 11, 11, 83, 60, 83, 60 },
                { 80, 80, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 80, 80, 80, 80, 80, 26, 83, 76, 75, 78, 83, 16, 16, 83, 58, 83, 59 },
                { 80, 80, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 80, 80, 80, 80, 80, 43, 42, 76, 75, 78, 83, 21, 21, 83, 83, 83, 58 },
                { 40, 41, 40, 31, 32, 33, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 5, 80, 80, 76, 77, 78, 80, 80, 80, 80, 80, 80, 5 },
                { 40, 46, 40, 36, 37, 38, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 74, 75, 79, 80, 80, 80, 80, 80, 80, 80 },
                { 40, 51, 40, 40, 40, 81, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 80 },
                { 40, 40, 40, 40, 39, 82, 5, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 80, 80, 80, 80, 80 },
                { 27, 27, 27, 27, 28, 80, 80, 80, 80, 80, 5, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80 }
            };//GEN-END:|251-getter|1|251-midInit
            // write mid-init user code here
            for (int row = 0; row < 23; row++) {//GEN-BEGIN:|251-getter|2|251-postInit
                for (int col = 0; col < 29; col++) {
                    barmap.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|251-getter|2|251-postInit
        // write post-init user code here
        return barmap;//GEN-BEGIN:|251-getter|3|
    }
//GEN-END:|251-getter|3|

    public TiledLayer getBarmap2() throws java.io.IOException {//GEN-BEGIN:|252-getter|0|252-preInit
        if (barmap2 == null) {//GEN-END:|252-getter|0|252-preInit
            // write pre-init user code here
            barmap2 = new TiledLayer(5, 4, getBar(), 16, 16);//GEN-BEGIN:|252-getter|1|252-midInit
            int[][] tiles = {
                { 61, 62, 62, 62, 63 },
                { 66, 67, 68, 68, 65 },
                { 0, 64, 69, 69, 70 },
                { 0, 71, 72, 72, 73 }
            };//GEN-END:|252-getter|1|252-midInit
            // write mid-init user code here
            for (int row = 0; row < 4; row++) {//GEN-BEGIN:|252-getter|2|252-postInit
                for (int col = 0; col < 5; col++) {
                    barmap2.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|252-getter|2|252-postInit
        // write post-init user code here
        return barmap2;//GEN-BEGIN:|252-getter|3|
    }
//GEN-END:|252-getter|3|

    public TiledLayer getBarmap3() throws java.io.IOException {//GEN-BEGIN:|253-getter|0|253-preInit
        if (barmap3 == null) {//GEN-END:|253-getter|0|253-preInit
            // write pre-init user code here
            barmap3 = new TiledLayer(6, 2, getBar(), 16, 16);//GEN-BEGIN:|253-getter|1|253-midInit
            int[][] tiles = {
                { 40, 40, 40, 40, 40, 0 },
                { 40, 40, 40, 40, 40, 23 }
            };//GEN-END:|253-getter|1|253-midInit
            // write mid-init user code here
            for (int row = 0; row < 2; row++) {//GEN-BEGIN:|253-getter|2|253-postInit
                for (int col = 0; col < 6; col++) {
                    barmap3.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|253-getter|2|253-postInit
        // write post-init user code here
        return barmap3;//GEN-BEGIN:|253-getter|3|
    }
//GEN-END:|253-getter|3|

    public TiledLayer getBarmap4() throws java.io.IOException {//GEN-BEGIN:|254-getter|0|254-preInit
        if (barmap4 == null) {//GEN-END:|254-getter|0|254-preInit
            // write pre-init user code here
            barmap4 = new TiledLayer(4, 1, getBar(), 16, 16);//GEN-BEGIN:|254-getter|1|254-midInit
            int[][] tiles = {
                { 47, 18, 18, 18 }
            };//GEN-END:|254-getter|1|254-midInit
            // write mid-init user code here
            for (int row = 0; row < 1; row++) {//GEN-BEGIN:|254-getter|2|254-postInit
                for (int col = 0; col < 4; col++) {
                    barmap4.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|254-getter|2|254-postInit
        // write post-init user code here
        return barmap4;//GEN-BEGIN:|254-getter|3|
    }
//GEN-END:|254-getter|3|

    public Image getTuido() throws java.io.IOException {//GEN-BEGIN:|255-getter|0|255-preInit
        if (tuido == null) {//GEN-END:|255-getter|0|255-preInit
            // write pre-init user code here
            tuido = Image.createImage("/tuido.png");//GEN-BEGIN:|255-getter|1|255-postInit
        }//GEN-END:|255-getter|1|255-postInit
        // write post-init user code here
        return this.tuido;//GEN-BEGIN:|255-getter|2|
    }
//GEN-END:|255-getter|2|

    public TiledLayer getTui() throws java.io.IOException {//GEN-BEGIN:|256-getter|0|256-preInit
        if (tui == null) {//GEN-END:|256-getter|0|256-preInit
            // write pre-init user code here
            tui = new TiledLayer(7, 6, getTuido(), 25, 25);//GEN-BEGIN:|256-getter|1|256-midInit
            int[][] tiles = {
                { 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1 }
            };//GEN-END:|256-getter|1|256-midInit
            // write mid-init user code here
            for (int row = 0; row < 6; row++) {//GEN-BEGIN:|256-getter|2|256-postInit
                for (int col = 0; col < 7; col++) {
                    tui.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|256-getter|2|256-postInit
        // write post-init user code here
        return tui;//GEN-BEGIN:|256-getter|3|
    }
//GEN-END:|256-getter|3|

    public Image getCop() throws java.io.IOException {//GEN-BEGIN:|257-getter|0|257-preInit
        if (cop == null) {//GEN-END:|257-getter|0|257-preInit
            // write pre-init user code here
            cop = Image.createImage("/cop.png");//GEN-BEGIN:|257-getter|1|257-postInit
        }//GEN-END:|257-getter|1|257-postInit
        // write post-init user code here
        return this.cop;//GEN-BEGIN:|257-getter|2|
    }
//GEN-END:|257-getter|2|

    public Sprite getComs() throws java.io.IOException {//GEN-BEGIN:|260-getter|0|260-preInit
        if (coms == null) {//GEN-END:|260-getter|0|260-preInit
            // write pre-init user code here
            coms = new Sprite(getCop(), 16, 32);//GEN-BEGIN:|260-getter|1|260-postInit
            coms.setFrameSequence(comsseq002);//GEN-END:|260-getter|1|260-postInit
            // write post-init user code here
        }//GEN-BEGIN:|260-getter|2|
        return coms;
    }
//GEN-END:|260-getter|2|

    public Image getNpc3() throws java.io.IOException {//GEN-BEGIN:|262-getter|0|262-preInit
        if (npc3 == null) {//GEN-END:|262-getter|0|262-preInit
            // write pre-init user code here
            npc3 = Image.createImage("/npc3.png");//GEN-BEGIN:|262-getter|1|262-postInit
        }//GEN-END:|262-getter|1|262-postInit
        // write post-init user code here
        return this.npc3;//GEN-BEGIN:|262-getter|2|
    }
//GEN-END:|262-getter|2|

    public Sprite getNpc33() throws java.io.IOException {//GEN-BEGIN:|263-getter|0|263-preInit
        if (npc33 == null) {//GEN-END:|263-getter|0|263-preInit
            // write pre-init user code here
            npc33 = new Sprite(getNpc3(), 16, 32);//GEN-BEGIN:|263-getter|1|263-postInit
            npc33.setFrameSequence(npc33seq001);//GEN-END:|263-getter|1|263-postInit
            // write post-init user code here
        }//GEN-BEGIN:|263-getter|2|
        return npc33;
    }
//GEN-END:|263-getter|2|

    public Image getNpc1() throws java.io.IOException {//GEN-BEGIN:|265-getter|0|265-preInit
        if (npc1 == null) {//GEN-END:|265-getter|0|265-preInit
            // write pre-init user code here
            npc1 = Image.createImage("/npc1.png");//GEN-BEGIN:|265-getter|1|265-postInit
        }//GEN-END:|265-getter|1|265-postInit
        // write post-init user code here
        return this.npc1;//GEN-BEGIN:|265-getter|2|
    }
//GEN-END:|265-getter|2|

    public Sprite getNpc1s() throws java.io.IOException {//GEN-BEGIN:|266-getter|0|266-preInit
        if (npc1s == null) {//GEN-END:|266-getter|0|266-preInit
            // write pre-init user code here
            npc1s = new Sprite(getNpc1(), 16, 32);//GEN-BEGIN:|266-getter|1|266-postInit
            npc1s.setFrameSequence(npc1sseq001);//GEN-END:|266-getter|1|266-postInit
            // write post-init user code here
        }//GEN-BEGIN:|266-getter|2|
        return npc1s;
    }
//GEN-END:|266-getter|2|

    public Image getNpc2() throws java.io.IOException {//GEN-BEGIN:|268-getter|0|268-preInit
        if (npc2 == null) {//GEN-END:|268-getter|0|268-preInit
            // write pre-init user code here
            npc2 = Image.createImage("/npc2.png");//GEN-BEGIN:|268-getter|1|268-postInit
        }//GEN-END:|268-getter|1|268-postInit
        // write post-init user code here
        return this.npc2;//GEN-BEGIN:|268-getter|2|
    }
//GEN-END:|268-getter|2|

    public Sprite getNpc2s() throws java.io.IOException {//GEN-BEGIN:|269-getter|0|269-preInit
        if (npc2s == null) {//GEN-END:|269-getter|0|269-preInit
            // write pre-init user code here
            npc2s = new Sprite(getNpc2(), 16, 32);//GEN-BEGIN:|269-getter|1|269-postInit
            npc2s.setFrameSequence(npc2sseq001);//GEN-END:|269-getter|1|269-postInit
            // write post-init user code here
        }//GEN-BEGIN:|269-getter|2|
        return npc2s;
    }
//GEN-END:|269-getter|2|

    public Image getKhung() throws java.io.IOException {//GEN-BEGIN:|271-getter|0|271-preInit
        if (khung == null) {//GEN-END:|271-getter|0|271-preInit
            // write pre-init user code here
            khung = Image.createImage("/khung.png");//GEN-BEGIN:|271-getter|1|271-postInit
        }//GEN-END:|271-getter|1|271-postInit
        // write post-init user code here
        return this.khung;//GEN-BEGIN:|271-getter|2|
    }
//GEN-END:|271-getter|2|

    public TiledLayer getKhungt() throws java.io.IOException {//GEN-BEGIN:|272-getter|0|272-preInit
        if (khungt == null) {//GEN-END:|272-getter|0|272-preInit
            // write pre-init user code here
            khungt = new TiledLayer(20, 6, getKhung(), 10, 10);//GEN-BEGIN:|272-getter|1|272-midInit
            int[][] tiles = {
                { 1, 2, 2, 2, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3 },
                { 4, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5 },
                { 4, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5 },
                { 4, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5 },
                { 4, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5 },
                { 6, 7, 7, 7, 8, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8 }
            };//GEN-END:|272-getter|1|272-midInit
            // write mid-init user code here
            for (int row = 0; row < 6; row++) {//GEN-BEGIN:|272-getter|2|272-postInit
                for (int col = 0; col < 20; col++) {
                    khungt.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|272-getter|2|272-postInit
        // write post-init user code here
        return khungt;//GEN-BEGIN:|272-getter|3|
    }
//GEN-END:|272-getter|3|

    public Sprite getKhungs() throws java.io.IOException {//GEN-BEGIN:|275-getter|0|275-preInit
        if (khungs == null) {//GEN-END:|275-getter|0|275-preInit
            // write pre-init user code here
            khungs = new Sprite(getKhungbando(), 122, 89);//GEN-BEGIN:|275-getter|1|275-postInit
            khungs.setFrameSequence(khungsseq001);//GEN-END:|275-getter|1|275-postInit
            // write post-init user code here
        }//GEN-BEGIN:|275-getter|2|
        return khungs;
    }
//GEN-END:|275-getter|2|

    public Image getKhungbando() throws java.io.IOException {//GEN-BEGIN:|274-getter|0|274-preInit
        if (khungbando == null) {//GEN-END:|274-getter|0|274-preInit
            // write pre-init user code here
            khungbando = Image.createImage("/khungbando.png");//GEN-BEGIN:|274-getter|1|274-postInit
        }//GEN-END:|274-getter|1|274-postInit
        // write post-init user code here
        return this.khungbando;//GEN-BEGIN:|274-getter|2|
    }
//GEN-END:|274-getter|2|

    public TiledLayer getBarmap5() throws java.io.IOException {//GEN-BEGIN:|273-getter|0|273-preInit
        if (barmap5 == null) {//GEN-END:|273-getter|0|273-preInit
            // write pre-init user code here
            barmap5 = new TiledLayer(6, 3, getBar(), 16, 16);//GEN-BEGIN:|273-getter|1|273-midInit
            int[][] tiles = {
                { 47, 18, 18, 18, 23, 0 },
                { 40, 40, 40, 40, 40, 0 },
                { 40, 40, 40, 40, 40, 23 }
            };//GEN-END:|273-getter|1|273-midInit
            // write mid-init user code here
            for (int row = 0; row < 3; row++) {//GEN-BEGIN:|273-getter|2|273-postInit
                for (int col = 0; col < 6; col++) {
                    barmap5.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|273-getter|2|273-postInit
        // write post-init user code here
        return barmap5;//GEN-BEGIN:|273-getter|3|
    }
//GEN-END:|273-getter|3|

    public Sprite getBandos() throws java.io.IOException {//GEN-BEGIN:|278-getter|0|278-preInit
        if (bandos == null) {//GEN-END:|278-getter|0|278-preInit
            // write pre-init user code here
            bandos = new Sprite(getBando(), 223, 219);//GEN-BEGIN:|278-getter|1|278-postInit
            bandos.setFrameSequence(bandosseq001);//GEN-END:|278-getter|1|278-postInit
            // write post-init user code here
        }//GEN-BEGIN:|278-getter|2|
        return bandos;
    }
//GEN-END:|278-getter|2|

    public Image getBando() throws java.io.IOException {//GEN-BEGIN:|277-getter|0|277-preInit
        if (bando == null) {//GEN-END:|277-getter|0|277-preInit
            // write pre-init user code here
            bando = Image.createImage("/bando.png");//GEN-BEGIN:|277-getter|1|277-postInit
        }//GEN-END:|277-getter|1|277-postInit
        // write post-init user code here
        return this.bando;//GEN-BEGIN:|277-getter|2|
    }
//GEN-END:|277-getter|2|

    public void updateLayerManagerForS(LayerManager lm) throws java.io.IOException {//GEN-LINE:|280-updateLayerManager|0|280-preUpdate
        // write pre-update user code here
        getKa().setPosition(96, 24);//GEN-BEGIN:|280-updateLayerManager|1|280-postUpdate
        getKa().setVisible(true);
        lm.append(getKa());
        getKhungs().setPosition(88, 63);
        getKhungs().setVisible(true);
        lm.append(getKhungs());
        getBandos().setPosition(0, 0);
        getBandos().setVisible(true);
        lm.append(getBandos());//GEN-END:|280-updateLayerManager|1|280-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|280-updateLayerManager|2|
//GEN-END:|280-updateLayerManager|2|

    public Sprite getKa() throws java.io.IOException {//GEN-BEGIN:|292-getter|0|292-preInit
        if (ka == null) {//GEN-END:|292-getter|0|292-preInit
            // write pre-init user code here
            ka = new Sprite(getKhungbando(), 122, 89);//GEN-BEGIN:|292-getter|1|292-postInit
            ka.setFrameSequence(kaseq001);//GEN-END:|292-getter|1|292-postInit
            // write post-init user code here
        }//GEN-BEGIN:|292-getter|2|
        return ka;
    }
//GEN-END:|292-getter|2|

    public Sprite getDjs() throws java.io.IOException {//GEN-BEGIN:|334-getter|0|334-preInit
        if (djs == null) {//GEN-END:|334-getter|0|334-preInit
            // write pre-init user code here
            djs = new Sprite(getDj(), 16, 32);//GEN-BEGIN:|334-getter|1|334-postInit
            djs.setFrameSequence(djsseq001);//GEN-END:|334-getter|1|334-postInit
            // write post-init user code here
        }//GEN-BEGIN:|334-getter|2|
        return djs;
    }
//GEN-END:|334-getter|2|

    public Image getDj() throws java.io.IOException {//GEN-BEGIN:|333-getter|0|333-preInit
        if (dj == null) {//GEN-END:|333-getter|0|333-preInit
            // write pre-init user code here
            dj = Image.createImage("/dj.png");//GEN-BEGIN:|333-getter|1|333-postInit
        }//GEN-END:|333-getter|1|333-postInit
        // write post-init user code here
        return this.dj;//GEN-BEGIN:|333-getter|2|
    }
//GEN-END:|333-getter|2|

    public Image getButton() throws java.io.IOException {//GEN-BEGIN:|330-getter|0|330-preInit
        if (button == null) {//GEN-END:|330-getter|0|330-preInit
            // write pre-init user code here
            button = Image.createImage("/button.png");//GEN-BEGIN:|330-getter|1|330-postInit
        }//GEN-END:|330-getter|1|330-postInit
        // write post-init user code here
        return this.button;//GEN-BEGIN:|330-getter|2|
    }
//GEN-END:|330-getter|2|

    public Sprite getB() throws java.io.IOException {//GEN-BEGIN:|331-getter|0|331-preInit
        if (b == null) {//GEN-END:|331-getter|0|331-preInit
            // write pre-init user code here
            b = new Sprite(getButton(), 8, 8);//GEN-BEGIN:|331-getter|1|331-postInit
            b.setFrameSequence(bseq001);//GEN-END:|331-getter|1|331-postInit
            // write post-init user code here
        }//GEN-BEGIN:|331-getter|2|
        return b;
    }
//GEN-END:|331-getter|2|

    public Image getBoss() throws java.io.IOException {//GEN-BEGIN:|336-getter|0|336-preInit
        if (boss == null) {//GEN-END:|336-getter|0|336-preInit
            // write pre-init user code here
            boss = Image.createImage("/boss.png");//GEN-BEGIN:|336-getter|1|336-postInit
        }//GEN-END:|336-getter|1|336-postInit
        // write post-init user code here
        return this.boss;//GEN-BEGIN:|336-getter|2|
    }
//GEN-END:|336-getter|2|

    public Sprite getBos() throws java.io.IOException {//GEN-BEGIN:|337-getter|0|337-preInit
        if (bos == null) {//GEN-END:|337-getter|0|337-preInit
            // write pre-init user code here
            bos = new Sprite(getBoss(), 16, 32);//GEN-BEGIN:|337-getter|1|337-postInit
            bos.setFrameSequence(bosseq001);//GEN-END:|337-getter|1|337-postInit
            // write post-init user code here
        }//GEN-BEGIN:|337-getter|2|
        return bos;
    }
//GEN-END:|337-getter|2|

    public Image getGuitar() throws java.io.IOException {//GEN-BEGIN:|339-getter|0|339-preInit
        if (guitar == null) {//GEN-END:|339-getter|0|339-preInit
            // write pre-init user code here
            guitar = Image.createImage("/guitar.png");//GEN-BEGIN:|339-getter|1|339-postInit
        }//GEN-END:|339-getter|1|339-postInit
        // write post-init user code here
        return this.guitar;//GEN-BEGIN:|339-getter|2|
    }
//GEN-END:|339-getter|2|

    public Sprite getG() throws java.io.IOException {//GEN-BEGIN:|340-getter|0|340-preInit
        if (g == null) {//GEN-END:|340-getter|0|340-preInit
            // write pre-init user code here
            g = new Sprite(getGuitar(), 16, 32);//GEN-BEGIN:|340-getter|1|340-postInit
            g.setFrameSequence(gseq001);//GEN-END:|340-getter|1|340-postInit
            // write post-init user code here
        }//GEN-BEGIN:|340-getter|2|
        return g;
    }
//GEN-END:|340-getter|2|

    public Image getDanem() throws java.io.IOException {//GEN-BEGIN:|342-getter|0|342-preInit
        if (danem == null) {//GEN-END:|342-getter|0|342-preInit
            // write pre-init user code here
            danem = Image.createImage("/danem.png");//GEN-BEGIN:|342-getter|1|342-postInit
        }//GEN-END:|342-getter|1|342-postInit
        // write post-init user code here
        return this.danem;//GEN-BEGIN:|342-getter|2|
    }
//GEN-END:|342-getter|2|

    public Sprite getDe() throws java.io.IOException {//GEN-BEGIN:|343-getter|0|343-preInit
        if (de == null) {//GEN-END:|343-getter|0|343-preInit
            // write pre-init user code here
            de = new Sprite(getDanem(), 16, 32);//GEN-BEGIN:|343-getter|1|343-postInit
            de.setFrameSequence(deseq001);//GEN-END:|343-getter|1|343-postInit
            // write post-init user code here
        }//GEN-BEGIN:|343-getter|2|
        return de;
    }
//GEN-END:|343-getter|2|

    public Image getChiduong() throws java.io.IOException {//GEN-BEGIN:|345-getter|0|345-preInit
        if (chiduong == null) {//GEN-END:|345-getter|0|345-preInit
            // write pre-init user code here
            chiduong = Image.createImage("/chiduong.png");//GEN-BEGIN:|345-getter|1|345-postInit
        }//GEN-END:|345-getter|1|345-postInit
        // write post-init user code here
        return this.chiduong;//GEN-BEGIN:|345-getter|2|
    }
//GEN-END:|345-getter|2|

    public Sprite getC() throws java.io.IOException {//GEN-BEGIN:|346-getter|0|346-preInit
        if (c == null) {//GEN-END:|346-getter|0|346-preInit
            // write pre-init user code here
            c = new Sprite(getChiduong(), 16, 16);//GEN-BEGIN:|346-getter|1|346-postInit
            c.setFrameSequence(cseq001);//GEN-END:|346-getter|1|346-postInit
            // write post-init user code here
        }//GEN-BEGIN:|346-getter|2|
        return c;
    }
//GEN-END:|346-getter|2|

    public Image getBom() throws java.io.IOException {//GEN-BEGIN:|348-getter|0|348-preInit
        if (bom == null) {//GEN-END:|348-getter|0|348-preInit
            // write pre-init user code here
            bom = Image.createImage("/bom.png");//GEN-BEGIN:|348-getter|1|348-postInit
        }//GEN-END:|348-getter|1|348-postInit
        // write post-init user code here
        return this.bom;//GEN-BEGIN:|348-getter|2|
    }
//GEN-END:|348-getter|2|

    public Sprite getBo() throws java.io.IOException {//GEN-BEGIN:|349-getter|0|349-preInit
        if (bo == null) {//GEN-END:|349-getter|0|349-preInit
            // write pre-init user code here
            bo = new Sprite(getBom(), 20, 20);//GEN-BEGIN:|349-getter|1|349-postInit
            bo.setFrameSequence(boseq001);//GEN-END:|349-getter|1|349-postInit
            // write post-init user code here
        }//GEN-BEGIN:|349-getter|2|
        return bo;
    }
//GEN-END:|349-getter|2|

    public Image getHoatrang() throws java.io.IOException {//GEN-BEGIN:|351-getter|0|351-preInit
        if (hoatrang == null) {//GEN-END:|351-getter|0|351-preInit
            // write pre-init user code here
            hoatrang = Image.createImage("/hoatrang.png");//GEN-BEGIN:|351-getter|1|351-postInit
        }//GEN-END:|351-getter|1|351-postInit
        // write post-init user code here
        return this.hoatrang;//GEN-BEGIN:|351-getter|2|
    }
//GEN-END:|351-getter|2|

    public Sprite getHt() throws java.io.IOException {//GEN-BEGIN:|352-getter|0|352-preInit
        if (ht == null) {//GEN-END:|352-getter|0|352-preInit
            // write pre-init user code here
            ht = new Sprite(getHoatrang(), 16, 32);//GEN-BEGIN:|352-getter|1|352-postInit
            ht.setFrameSequence(htseq001);//GEN-END:|352-getter|1|352-postInit
            // write post-init user code here
        }//GEN-BEGIN:|352-getter|2|
        return ht;
    }
//GEN-END:|352-getter|2|

    public Image getMauban() throws java.io.IOException {//GEN-BEGIN:|354-getter|0|354-preInit
        if (mauban == null) {//GEN-END:|354-getter|0|354-preInit
            // write pre-init user code here
            mauban = Image.createImage("/mauban.png");//GEN-BEGIN:|354-getter|1|354-postInit
        }//GEN-END:|354-getter|1|354-postInit
        // write post-init user code here
        return this.mauban;//GEN-BEGIN:|354-getter|2|
    }
//GEN-END:|354-getter|2|

    public Sprite getMb() throws java.io.IOException {//GEN-BEGIN:|355-getter|0|355-preInit
        if (mb == null) {//GEN-END:|355-getter|0|355-preInit
            // write pre-init user code here
            mb = new Sprite(getMauban(), 16, 16);//GEN-BEGIN:|355-getter|1|355-postInit
            mb.setFrameSequence(mbseq001);//GEN-END:|355-getter|1|355-postInit
            // write post-init user code here
        }//GEN-BEGIN:|355-getter|2|
        return mb;
    }
//GEN-END:|355-getter|2|

    public Image getWc() throws java.io.IOException {//GEN-BEGIN:|357-getter|0|357-preInit
        if (wc == null) {//GEN-END:|357-getter|0|357-preInit
            // write pre-init user code here
            wc = Image.createImage("/wc.png");//GEN-BEGIN:|357-getter|1|357-postInit
        }//GEN-END:|357-getter|1|357-postInit
        // write post-init user code here
        return this.wc;//GEN-BEGIN:|357-getter|2|
    }
//GEN-END:|357-getter|2|

    public TiledLayer getWcmap() throws java.io.IOException {//GEN-BEGIN:|358-getter|0|358-preInit
        if (wcmap == null) {//GEN-END:|358-getter|0|358-preInit
            // write pre-init user code here
            wcmap = new TiledLayer(15, 26, getWc(), 16, 16);//GEN-BEGIN:|358-getter|1|358-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 1, 2, 3, 4, 5, 2, 2, 6, 2, 2, 3, 4, 5, 2, 2 },
                { 8, 18, 9, 10, 9, 10, 9, 13, 10, 18, 10, 9, 10, 9, 10 },
                { 8, 16, 16, 16, 16, 17, 16, 20, 16, 16, 17, 12, 12, 12, 16 },
                { 22, 11, 11, 11, 11, 11, 27, 24, 22, 11, 11, 11, 11, 11, 27 },
                { 22, 11, 11, 11, 11, 11, 19, 24, 22, 11, 11, 11, 11, 11, 19 },
                { 22, 11, 11, 11, 11, 11, 26, 24, 22, 11, 11, 11, 11, 11, 26 },
                { 22, 11, 11, 11, 11, 11, 27, 24, 22, 11, 11, 11, 11, 11, 27 },
                { 22, 11, 11, 11, 11, 11, 19, 24, 22, 11, 11, 11, 11, 11, 19 },
                { 22, 11, 11, 11, 11, 11, 26, 24, 22, 11, 11, 11, 11, 11, 26 },
                { 22, 11, 11, 11, 11, 11, 27, 24, 22, 11, 11, 11, 11, 11, 27 },
                { 22, 11, 11, 11, 11, 11, 19, 24, 22, 11, 11, 11, 11, 11, 19 },
                { 22, 11, 11, 11, 11, 11, 26, 24, 22, 11, 11, 11, 11, 11, 26 },
                { 22, 11, 11, 11, 11, 11, 27, 24, 22, 11, 11, 11, 11, 11, 27 },
                { 2, 2, 11, 11, 2, 2, 2, 2, 2, 2, 2, 11, 11, 2, 2 },
                { 10, 10, 11, 11, 10, 10, 10, 10, 10, 10, 10, 11, 11, 10, 10 },
                { 16, 16, 11, 11, 16, 16, 16, 16, 16, 16, 16, 11, 11, 16, 16 },
                { 14, 7, 14, 14, 14, 14, 7, 14, 14, 14, 14, 14, 14, 14, 7 },
                { 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14 },
                { 14, 14, 14, 7, 14, 14, 14, 14, 14, 14, 7, 14, 14, 14, 14 },
                { 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|358-getter|1|358-midInit
            // write mid-init user code here
            for (int row = 0; row < 26; row++) {//GEN-BEGIN:|358-getter|2|358-postInit
                for (int col = 0; col < 15; col++) {
                    wcmap.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|358-getter|2|358-postInit
        // write post-init user code here
        return wcmap;//GEN-BEGIN:|358-getter|3|
    }
//GEN-END:|358-getter|3|

    public TiledLayer getWcmap1() throws java.io.IOException {//GEN-BEGIN:|359-getter|0|359-preInit
        if (wcmap1 == null) {//GEN-END:|359-getter|0|359-preInit
            // write pre-init user code here
            wcmap1 = new TiledLayer(15, 3, getWc(), 16, 16);//GEN-BEGIN:|359-getter|1|359-midInit
            int[][] tiles = {
                { 2, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 2, 2 },
                { 10, 10, 0, 0, 10, 10, 10, 10, 10, 10, 10, 0, 0, 10, 10 },
                { 16, 16, 0, 0, 16, 16, 16, 16, 16, 16, 16, 0, 0, 16, 16 }
            };//GEN-END:|359-getter|1|359-midInit
            // write mid-init user code here
            for (int row = 0; row < 3; row++) {//GEN-BEGIN:|359-getter|2|359-postInit
                for (int col = 0; col < 15; col++) {
                    wcmap1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|359-getter|2|359-postInit
        // write post-init user code here
        return wcmap1;//GEN-BEGIN:|359-getter|3|
    }
//GEN-END:|359-getter|3|

    public Image getMau() throws java.io.IOException {//GEN-BEGIN:|360-getter|0|360-preInit
        if (mau == null) {//GEN-END:|360-getter|0|360-preInit
            // write pre-init user code here
            mau = Image.createImage("/mau.png");//GEN-BEGIN:|360-getter|1|360-postInit
        }//GEN-END:|360-getter|1|360-postInit
        // write post-init user code here
        return this.mau;//GEN-BEGIN:|360-getter|2|
    }
//GEN-END:|360-getter|2|

    public TiledLayer getMaut() throws java.io.IOException {//GEN-BEGIN:|361-getter|0|361-preInit
        if (maut == null) {//GEN-END:|361-getter|0|361-preInit
            // write pre-init user code here
            maut = new TiledLayer(20, 20, getMau(), 4, 3);//GEN-BEGIN:|361-getter|1|361-midInit
            int[][] tiles = {
                { 2, 4, 4, 4, 4, 4, 4, 4, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|361-getter|1|361-midInit
            // write mid-init user code here
            for (int row = 0; row < 20; row++) {//GEN-BEGIN:|361-getter|2|361-postInit
                for (int col = 0; col < 20; col++) {
                    maut.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|361-getter|2|361-postInit
        // write post-init user code here
        return maut;//GEN-BEGIN:|361-getter|3|
    }
//GEN-END:|361-getter|3|

    public Image getNuochoa() throws java.io.IOException {//GEN-BEGIN:|362-getter|0|362-preInit
        if (nuochoa == null) {//GEN-END:|362-getter|0|362-preInit
            // write pre-init user code here
            nuochoa = Image.createImage("/nuochoa.png");//GEN-BEGIN:|362-getter|1|362-postInit
        }//GEN-END:|362-getter|1|362-postInit
        // write post-init user code here
        return this.nuochoa;//GEN-BEGIN:|362-getter|2|
    }
//GEN-END:|362-getter|2|

    public Sprite getNchoa() throws java.io.IOException {//GEN-BEGIN:|363-getter|0|363-preInit
        if (nchoa == null) {//GEN-END:|363-getter|0|363-preInit
            // write pre-init user code here
            nchoa = new Sprite(getNuochoa(), 16, 16);//GEN-BEGIN:|363-getter|1|363-postInit
            nchoa.setFrameSequence(nchoaseq001);//GEN-END:|363-getter|1|363-postInit
            // write post-init user code here
        }//GEN-BEGIN:|363-getter|2|
        return nchoa;
    }
//GEN-END:|363-getter|2|

    public Image getSmoke() throws java.io.IOException {//GEN-BEGIN:|365-getter|0|365-preInit
        if (smoke == null) {//GEN-END:|365-getter|0|365-preInit
            // write pre-init user code here
            smoke = Image.createImage("/smoke.png");//GEN-BEGIN:|365-getter|1|365-postInit
        }//GEN-END:|365-getter|1|365-postInit
        // write post-init user code here
        return this.smoke;//GEN-BEGIN:|365-getter|2|
    }
//GEN-END:|365-getter|2|

    public Sprite getSmk() throws java.io.IOException {//GEN-BEGIN:|366-getter|0|366-preInit
        if (smk == null) {//GEN-END:|366-getter|0|366-preInit
            // write pre-init user code here
            smk = new Sprite(getSmoke(), 54, 70);//GEN-BEGIN:|366-getter|1|366-postInit
            smk.setFrameSequence(smkseq001);//GEN-END:|366-getter|1|366-postInit
            // write post-init user code here
        }//GEN-BEGIN:|366-getter|2|
        return smk;
    }
//GEN-END:|366-getter|2|



}
